package com.liveneo.adapter.base.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 案件信息统计表 条件工具类
 * 
 * @author fucy
 * @since 2016-06-05
 */
public class PrpmReportCollectExample {
    protected String         orderByClause;
    protected boolean        distinct;
    protected List<Criteria> oredCriteria;

    public PrpmReportCollectExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 案件信息统计表
     * 数据库表：prpm_report_collect
     * 
     * @author fucy
     * @since 2016-06-05
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNull() {
            addCriterion("CompanyName is null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNotNull() {
            addCriterion("CompanyName is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameEqualTo(String value) {
            addCriterion("CompanyName =", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotEqualTo(String value) {
            addCriterion("CompanyName <>", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThan(String value) {
            addCriterion("CompanyName >", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
            addCriterion("CompanyName >=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThan(String value) {
            addCriterion("CompanyName <", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThanOrEqualTo(String value) {
            addCriterion("CompanyName <=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLike(String value) {
            addCriterion("CompanyName like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotLike(String value) {
            addCriterion("CompanyName not like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIn(List<String> values) {
            addCriterion("CompanyName in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotIn(List<String> values) {
            addCriterion("CompanyName not in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameBetween(String value1, String value2) {
            addCriterion("CompanyName between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotBetween(String value1, String value2) {
            addCriterion("CompanyName not between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidIsNull() {
            addCriterion("CompanyUuid is null");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidIsNotNull() {
            addCriterion("CompanyUuid is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidEqualTo(String value) {
            addCriterion("CompanyUuid =", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidNotEqualTo(String value) {
            addCriterion("CompanyUuid <>", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidGreaterThan(String value) {
            addCriterion("CompanyUuid >", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidGreaterThanOrEqualTo(String value) {
            addCriterion("CompanyUuid >=", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidLessThan(String value) {
            addCriterion("CompanyUuid <", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidLessThanOrEqualTo(String value) {
            addCriterion("CompanyUuid <=", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidLike(String value) {
            addCriterion("CompanyUuid like", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidNotLike(String value) {
            addCriterion("CompanyUuid not like", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidIn(List<String> values) {
            addCriterion("CompanyUuid in", values, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidNotIn(List<String> values) {
            addCriterion("CompanyUuid not in", values, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidBetween(String value1, String value2) {
            addCriterion("CompanyUuid between", value1, value2, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidNotBetween(String value1, String value2) {
            addCriterion("CompanyUuid not between", value1, value2, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andLaunchNumIsNull() {
            addCriterion("LaunchNum is null");
            return (Criteria) this;
        }

        public Criteria andLaunchNumIsNotNull() {
            addCriterion("LaunchNum is not null");
            return (Criteria) this;
        }

        public Criteria andLaunchNumEqualTo(Integer value) {
            addCriterion("LaunchNum =", value, "launchNum");
            return (Criteria) this;
        }

        public Criteria andLaunchNumNotEqualTo(Integer value) {
            addCriterion("LaunchNum <>", value, "launchNum");
            return (Criteria) this;
        }

        public Criteria andLaunchNumGreaterThan(Integer value) {
            addCriterion("LaunchNum >", value, "launchNum");
            return (Criteria) this;
        }

        public Criteria andLaunchNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("LaunchNum >=", value, "launchNum");
            return (Criteria) this;
        }

        public Criteria andLaunchNumLessThan(Integer value) {
            addCriterion("LaunchNum <", value, "launchNum");
            return (Criteria) this;
        }

        public Criteria andLaunchNumLessThanOrEqualTo(Integer value) {
            addCriterion("LaunchNum <=", value, "launchNum");
            return (Criteria) this;
        }

        public Criteria andLaunchNumIn(List<Integer> values) {
            addCriterion("LaunchNum in", values, "launchNum");
            return (Criteria) this;
        }

        public Criteria andLaunchNumNotIn(List<Integer> values) {
            addCriterion("LaunchNum not in", values, "launchNum");
            return (Criteria) this;
        }

        public Criteria andLaunchNumBetween(Integer value1, Integer value2) {
            addCriterion("LaunchNum between", value1, value2, "launchNum");
            return (Criteria) this;
        }

        public Criteria andLaunchNumNotBetween(Integer value1, Integer value2) {
            addCriterion("LaunchNum not between", value1, value2, "launchNum");
            return (Criteria) this;
        }

        public Criteria andPendingNumIsNull() {
            addCriterion("PendingNum is null");
            return (Criteria) this;
        }

        public Criteria andPendingNumIsNotNull() {
            addCriterion("PendingNum is not null");
            return (Criteria) this;
        }

        public Criteria andPendingNumEqualTo(Integer value) {
            addCriterion("PendingNum =", value, "pendingNum");
            return (Criteria) this;
        }

        public Criteria andPendingNumNotEqualTo(Integer value) {
            addCriterion("PendingNum <>", value, "pendingNum");
            return (Criteria) this;
        }

        public Criteria andPendingNumGreaterThan(Integer value) {
            addCriterion("PendingNum >", value, "pendingNum");
            return (Criteria) this;
        }

        public Criteria andPendingNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("PendingNum >=", value, "pendingNum");
            return (Criteria) this;
        }

        public Criteria andPendingNumLessThan(Integer value) {
            addCriterion("PendingNum <", value, "pendingNum");
            return (Criteria) this;
        }

        public Criteria andPendingNumLessThanOrEqualTo(Integer value) {
            addCriterion("PendingNum <=", value, "pendingNum");
            return (Criteria) this;
        }

        public Criteria andPendingNumIn(List<Integer> values) {
            addCriterion("PendingNum in", values, "pendingNum");
            return (Criteria) this;
        }

        public Criteria andPendingNumNotIn(List<Integer> values) {
            addCriterion("PendingNum not in", values, "pendingNum");
            return (Criteria) this;
        }

        public Criteria andPendingNumBetween(Integer value1, Integer value2) {
            addCriterion("PendingNum between", value1, value2, "pendingNum");
            return (Criteria) this;
        }

        public Criteria andPendingNumNotBetween(Integer value1, Integer value2) {
            addCriterion("PendingNum not between", value1, value2, "pendingNum");
            return (Criteria) this;
        }

        public Criteria andCancelNumIsNull() {
            addCriterion("CancelNum is null");
            return (Criteria) this;
        }

        public Criteria andCancelNumIsNotNull() {
            addCriterion("CancelNum is not null");
            return (Criteria) this;
        }

        public Criteria andCancelNumEqualTo(Integer value) {
            addCriterion("CancelNum =", value, "cancelNum");
            return (Criteria) this;
        }

        public Criteria andCancelNumNotEqualTo(Integer value) {
            addCriterion("CancelNum <>", value, "cancelNum");
            return (Criteria) this;
        }

        public Criteria andCancelNumGreaterThan(Integer value) {
            addCriterion("CancelNum >", value, "cancelNum");
            return (Criteria) this;
        }

        public Criteria andCancelNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("CancelNum >=", value, "cancelNum");
            return (Criteria) this;
        }

        public Criteria andCancelNumLessThan(Integer value) {
            addCriterion("CancelNum <", value, "cancelNum");
            return (Criteria) this;
        }

        public Criteria andCancelNumLessThanOrEqualTo(Integer value) {
            addCriterion("CancelNum <=", value, "cancelNum");
            return (Criteria) this;
        }

        public Criteria andCancelNumIn(List<Integer> values) {
            addCriterion("CancelNum in", values, "cancelNum");
            return (Criteria) this;
        }

        public Criteria andCancelNumNotIn(List<Integer> values) {
            addCriterion("CancelNum not in", values, "cancelNum");
            return (Criteria) this;
        }

        public Criteria andCancelNumBetween(Integer value1, Integer value2) {
            addCriterion("CancelNum between", value1, value2, "cancelNum");
            return (Criteria) this;
        }

        public Criteria andCancelNumNotBetween(Integer value1, Integer value2) {
            addCriterion("CancelNum not between", value1, value2, "cancelNum");
            return (Criteria) this;
        }

        public Criteria andConventionalNumIsNull() {
            addCriterion("ConventionalNum is null");
            return (Criteria) this;
        }

        public Criteria andConventionalNumIsNotNull() {
            addCriterion("ConventionalNum is not null");
            return (Criteria) this;
        }

        public Criteria andConventionalNumEqualTo(Integer value) {
            addCriterion("ConventionalNum =", value, "conventionalNum");
            return (Criteria) this;
        }

        public Criteria andConventionalNumNotEqualTo(Integer value) {
            addCriterion("ConventionalNum <>", value, "conventionalNum");
            return (Criteria) this;
        }

        public Criteria andConventionalNumGreaterThan(Integer value) {
            addCriterion("ConventionalNum >", value, "conventionalNum");
            return (Criteria) this;
        }

        public Criteria andConventionalNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("ConventionalNum >=", value, "conventionalNum");
            return (Criteria) this;
        }

        public Criteria andConventionalNumLessThan(Integer value) {
            addCriterion("ConventionalNum <", value, "conventionalNum");
            return (Criteria) this;
        }

        public Criteria andConventionalNumLessThanOrEqualTo(Integer value) {
            addCriterion("ConventionalNum <=", value, "conventionalNum");
            return (Criteria) this;
        }

        public Criteria andConventionalNumIn(List<Integer> values) {
            addCriterion("ConventionalNum in", values, "conventionalNum");
            return (Criteria) this;
        }

        public Criteria andConventionalNumNotIn(List<Integer> values) {
            addCriterion("ConventionalNum not in", values, "conventionalNum");
            return (Criteria) this;
        }

        public Criteria andConventionalNumBetween(Integer value1, Integer value2) {
            addCriterion("ConventionalNum between", value1, value2, "conventionalNum");
            return (Criteria) this;
        }

        public Criteria andConventionalNumNotBetween(Integer value1, Integer value2) {
            addCriterion("ConventionalNum not between", value1, value2, "conventionalNum");
            return (Criteria) this;
        }

        public Criteria andCphotoNumIsNull() {
            addCriterion("CphotoNum is null");
            return (Criteria) this;
        }

        public Criteria andCphotoNumIsNotNull() {
            addCriterion("CphotoNum is not null");
            return (Criteria) this;
        }

        public Criteria andCphotoNumEqualTo(Integer value) {
            addCriterion("CphotoNum =", value, "cphotoNum");
            return (Criteria) this;
        }

        public Criteria andCphotoNumNotEqualTo(Integer value) {
            addCriterion("CphotoNum <>", value, "cphotoNum");
            return (Criteria) this;
        }

        public Criteria andCphotoNumGreaterThan(Integer value) {
            addCriterion("CphotoNum >", value, "cphotoNum");
            return (Criteria) this;
        }

        public Criteria andCphotoNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("CphotoNum >=", value, "cphotoNum");
            return (Criteria) this;
        }

        public Criteria andCphotoNumLessThan(Integer value) {
            addCriterion("CphotoNum <", value, "cphotoNum");
            return (Criteria) this;
        }

        public Criteria andCphotoNumLessThanOrEqualTo(Integer value) {
            addCriterion("CphotoNum <=", value, "cphotoNum");
            return (Criteria) this;
        }

        public Criteria andCphotoNumIn(List<Integer> values) {
            addCriterion("CphotoNum in", values, "cphotoNum");
            return (Criteria) this;
        }

        public Criteria andCphotoNumNotIn(List<Integer> values) {
            addCriterion("CphotoNum not in", values, "cphotoNum");
            return (Criteria) this;
        }

        public Criteria andCphotoNumBetween(Integer value1, Integer value2) {
            addCriterion("CphotoNum between", value1, value2, "cphotoNum");
            return (Criteria) this;
        }

        public Criteria andCphotoNumNotBetween(Integer value1, Integer value2) {
            addCriterion("CphotoNum not between", value1, value2, "cphotoNum");
            return (Criteria) this;
        }

        public Criteria andBphotoNumIsNull() {
            addCriterion("BphotoNum is null");
            return (Criteria) this;
        }

        public Criteria andBphotoNumIsNotNull() {
            addCriterion("BphotoNum is not null");
            return (Criteria) this;
        }

        public Criteria andBphotoNumEqualTo(Integer value) {
            addCriterion("BphotoNum =", value, "bphotoNum");
            return (Criteria) this;
        }

        public Criteria andBphotoNumNotEqualTo(Integer value) {
            addCriterion("BphotoNum <>", value, "bphotoNum");
            return (Criteria) this;
        }

        public Criteria andBphotoNumGreaterThan(Integer value) {
            addCriterion("BphotoNum >", value, "bphotoNum");
            return (Criteria) this;
        }

        public Criteria andBphotoNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("BphotoNum >=", value, "bphotoNum");
            return (Criteria) this;
        }

        public Criteria andBphotoNumLessThan(Integer value) {
            addCriterion("BphotoNum <", value, "bphotoNum");
            return (Criteria) this;
        }

        public Criteria andBphotoNumLessThanOrEqualTo(Integer value) {
            addCriterion("BphotoNum <=", value, "bphotoNum");
            return (Criteria) this;
        }

        public Criteria andBphotoNumIn(List<Integer> values) {
            addCriterion("BphotoNum in", values, "bphotoNum");
            return (Criteria) this;
        }

        public Criteria andBphotoNumNotIn(List<Integer> values) {
            addCriterion("BphotoNum not in", values, "bphotoNum");
            return (Criteria) this;
        }

        public Criteria andBphotoNumBetween(Integer value1, Integer value2) {
            addCriterion("BphotoNum between", value1, value2, "bphotoNum");
            return (Criteria) this;
        }

        public Criteria andBphotoNumNotBetween(Integer value1, Integer value2) {
            addCriterion("BphotoNum not between", value1, value2, "bphotoNum");
            return (Criteria) this;
        }

        public Criteria andCvideoNumIsNull() {
            addCriterion("CvideoNum is null");
            return (Criteria) this;
        }

        public Criteria andCvideoNumIsNotNull() {
            addCriterion("CvideoNum is not null");
            return (Criteria) this;
        }

        public Criteria andCvideoNumEqualTo(Integer value) {
            addCriterion("CvideoNum =", value, "cvideoNum");
            return (Criteria) this;
        }

        public Criteria andCvideoNumNotEqualTo(Integer value) {
            addCriterion("CvideoNum <>", value, "cvideoNum");
            return (Criteria) this;
        }

        public Criteria andCvideoNumGreaterThan(Integer value) {
            addCriterion("CvideoNum >", value, "cvideoNum");
            return (Criteria) this;
        }

        public Criteria andCvideoNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("CvideoNum >=", value, "cvideoNum");
            return (Criteria) this;
        }

        public Criteria andCvideoNumLessThan(Integer value) {
            addCriterion("CvideoNum <", value, "cvideoNum");
            return (Criteria) this;
        }

        public Criteria andCvideoNumLessThanOrEqualTo(Integer value) {
            addCriterion("CvideoNum <=", value, "cvideoNum");
            return (Criteria) this;
        }

        public Criteria andCvideoNumIn(List<Integer> values) {
            addCriterion("CvideoNum in", values, "cvideoNum");
            return (Criteria) this;
        }

        public Criteria andCvideoNumNotIn(List<Integer> values) {
            addCriterion("CvideoNum not in", values, "cvideoNum");
            return (Criteria) this;
        }

        public Criteria andCvideoNumBetween(Integer value1, Integer value2) {
            addCriterion("CvideoNum between", value1, value2, "cvideoNum");
            return (Criteria) this;
        }

        public Criteria andCvideoNumNotBetween(Integer value1, Integer value2) {
            addCriterion("CvideoNum not between", value1, value2, "cvideoNum");
            return (Criteria) this;
        }

        public Criteria andBvideoNumIsNull() {
            addCriterion("BvideoNum is null");
            return (Criteria) this;
        }

        public Criteria andBvideoNumIsNotNull() {
            addCriterion("BvideoNum is not null");
            return (Criteria) this;
        }

        public Criteria andBvideoNumEqualTo(Integer value) {
            addCriterion("BvideoNum =", value, "bvideoNum");
            return (Criteria) this;
        }

        public Criteria andBvideoNumNotEqualTo(Integer value) {
            addCriterion("BvideoNum <>", value, "bvideoNum");
            return (Criteria) this;
        }

        public Criteria andBvideoNumGreaterThan(Integer value) {
            addCriterion("BvideoNum >", value, "bvideoNum");
            return (Criteria) this;
        }

        public Criteria andBvideoNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("BvideoNum >=", value, "bvideoNum");
            return (Criteria) this;
        }

        public Criteria andBvideoNumLessThan(Integer value) {
            addCriterion("BvideoNum <", value, "bvideoNum");
            return (Criteria) this;
        }

        public Criteria andBvideoNumLessThanOrEqualTo(Integer value) {
            addCriterion("BvideoNum <=", value, "bvideoNum");
            return (Criteria) this;
        }

        public Criteria andBvideoNumIn(List<Integer> values) {
            addCriterion("BvideoNum in", values, "bvideoNum");
            return (Criteria) this;
        }

        public Criteria andBvideoNumNotIn(List<Integer> values) {
            addCriterion("BvideoNum not in", values, "bvideoNum");
            return (Criteria) this;
        }

        public Criteria andBvideoNumBetween(Integer value1, Integer value2) {
            addCriterion("BvideoNum between", value1, value2, "bvideoNum");
            return (Criteria) this;
        }

        public Criteria andBvideoNumNotBetween(Integer value1, Integer value2) {
            addCriterion("BvideoNum not between", value1, value2, "bvideoNum");
            return (Criteria) this;
        }

        public Criteria andCpvNumIsNull() {
            addCriterion("CpvNum is null");
            return (Criteria) this;
        }

        public Criteria andCpvNumIsNotNull() {
            addCriterion("CpvNum is not null");
            return (Criteria) this;
        }

        public Criteria andCpvNumEqualTo(Integer value) {
            addCriterion("CpvNum =", value, "cpvNum");
            return (Criteria) this;
        }

        public Criteria andCpvNumNotEqualTo(Integer value) {
            addCriterion("CpvNum <>", value, "cpvNum");
            return (Criteria) this;
        }

        public Criteria andCpvNumGreaterThan(Integer value) {
            addCriterion("CpvNum >", value, "cpvNum");
            return (Criteria) this;
        }

        public Criteria andCpvNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("CpvNum >=", value, "cpvNum");
            return (Criteria) this;
        }

        public Criteria andCpvNumLessThan(Integer value) {
            addCriterion("CpvNum <", value, "cpvNum");
            return (Criteria) this;
        }

        public Criteria andCpvNumLessThanOrEqualTo(Integer value) {
            addCriterion("CpvNum <=", value, "cpvNum");
            return (Criteria) this;
        }

        public Criteria andCpvNumIn(List<Integer> values) {
            addCriterion("CpvNum in", values, "cpvNum");
            return (Criteria) this;
        }

        public Criteria andCpvNumNotIn(List<Integer> values) {
            addCriterion("CpvNum not in", values, "cpvNum");
            return (Criteria) this;
        }

        public Criteria andCpvNumBetween(Integer value1, Integer value2) {
            addCriterion("CpvNum between", value1, value2, "cpvNum");
            return (Criteria) this;
        }

        public Criteria andCpvNumNotBetween(Integer value1, Integer value2) {
            addCriterion("CpvNum not between", value1, value2, "cpvNum");
            return (Criteria) this;
        }

        public Criteria andBpvNumIsNull() {
            addCriterion("BpvNum is null");
            return (Criteria) this;
        }

        public Criteria andBpvNumIsNotNull() {
            addCriterion("BpvNum is not null");
            return (Criteria) this;
        }

        public Criteria andBpvNumEqualTo(Integer value) {
            addCriterion("BpvNum =", value, "bpvNum");
            return (Criteria) this;
        }

        public Criteria andBpvNumNotEqualTo(Integer value) {
            addCriterion("BpvNum <>", value, "bpvNum");
            return (Criteria) this;
        }

        public Criteria andBpvNumGreaterThan(Integer value) {
            addCriterion("BpvNum >", value, "bpvNum");
            return (Criteria) this;
        }

        public Criteria andBpvNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("BpvNum >=", value, "bpvNum");
            return (Criteria) this;
        }

        public Criteria andBpvNumLessThan(Integer value) {
            addCriterion("BpvNum <", value, "bpvNum");
            return (Criteria) this;
        }

        public Criteria andBpvNumLessThanOrEqualTo(Integer value) {
            addCriterion("BpvNum <=", value, "bpvNum");
            return (Criteria) this;
        }

        public Criteria andBpvNumIn(List<Integer> values) {
            addCriterion("BpvNum in", values, "bpvNum");
            return (Criteria) this;
        }

        public Criteria andBpvNumNotIn(List<Integer> values) {
            addCriterion("BpvNum not in", values, "bpvNum");
            return (Criteria) this;
        }

        public Criteria andBpvNumBetween(Integer value1, Integer value2) {
            addCriterion("BpvNum between", value1, value2, "bpvNum");
            return (Criteria) this;
        }

        public Criteria andBpvNumNotBetween(Integer value1, Integer value2) {
            addCriterion("BpvNum not between", value1, value2, "bpvNum");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumIsNull() {
            addCriterion("PvTotalNum is null");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumIsNotNull() {
            addCriterion("PvTotalNum is not null");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumEqualTo(Integer value) {
            addCriterion("PvTotalNum =", value, "pvTotalNum");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumNotEqualTo(Integer value) {
            addCriterion("PvTotalNum <>", value, "pvTotalNum");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumGreaterThan(Integer value) {
            addCriterion("PvTotalNum >", value, "pvTotalNum");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("PvTotalNum >=", value, "pvTotalNum");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumLessThan(Integer value) {
            addCriterion("PvTotalNum <", value, "pvTotalNum");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumLessThanOrEqualTo(Integer value) {
            addCriterion("PvTotalNum <=", value, "pvTotalNum");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumIn(List<Integer> values) {
            addCriterion("PvTotalNum in", values, "pvTotalNum");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumNotIn(List<Integer> values) {
            addCriterion("PvTotalNum not in", values, "pvTotalNum");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumBetween(Integer value1, Integer value2) {
            addCriterion("PvTotalNum between", value1, value2, "pvTotalNum");
            return (Criteria) this;
        }

        public Criteria andPvTotalNumNotBetween(Integer value1, Integer value2) {
            addCriterion("PvTotalNum not between", value1, value2, "pvTotalNum");
            return (Criteria) this;
        }

        public Criteria andCaseRateIsNull() {
            addCriterion("CaseRate is null");
            return (Criteria) this;
        }

        public Criteria andCaseRateIsNotNull() {
            addCriterion("CaseRate is not null");
            return (Criteria) this;
        }

        public Criteria andCaseRateEqualTo(BigDecimal value) {
            addCriterion("CaseRate =", value, "caseRate");
            return (Criteria) this;
        }

        public Criteria andCaseRateNotEqualTo(BigDecimal value) {
            addCriterion("CaseRate <>", value, "caseRate");
            return (Criteria) this;
        }

        public Criteria andCaseRateGreaterThan(BigDecimal value) {
            addCriterion("CaseRate >", value, "caseRate");
            return (Criteria) this;
        }

        public Criteria andCaseRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("CaseRate >=", value, "caseRate");
            return (Criteria) this;
        }

        public Criteria andCaseRateLessThan(BigDecimal value) {
            addCriterion("CaseRate <", value, "caseRate");
            return (Criteria) this;
        }

        public Criteria andCaseRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("CaseRate <=", value, "caseRate");
            return (Criteria) this;
        }

        public Criteria andCaseRateIn(List<BigDecimal> values) {
            addCriterion("CaseRate in", values, "caseRate");
            return (Criteria) this;
        }

        public Criteria andCaseRateNotIn(List<BigDecimal> values) {
            addCriterion("CaseRate not in", values, "caseRate");
            return (Criteria) this;
        }

        public Criteria andCaseRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CaseRate between", value1, value2, "caseRate");
            return (Criteria) this;
        }

        public Criteria andCaseRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CaseRate not between", value1, value2, "caseRate");
            return (Criteria) this;
        }

        public Criteria andCollectTypeIsNull() {
            addCriterion("CollectType is null");
            return (Criteria) this;
        }

        public Criteria andCollectTypeIsNotNull() {
            addCriterion("CollectType is not null");
            return (Criteria) this;
        }

        public Criteria andCollectTypeEqualTo(Integer value) {
            addCriterion("CollectType =", value, "collectType");
            return (Criteria) this;
        }

        public Criteria andCollectTypeNotEqualTo(Integer value) {
            addCriterion("CollectType <>", value, "collectType");
            return (Criteria) this;
        }

        public Criteria andCollectTypeGreaterThan(Integer value) {
            addCriterion("CollectType >", value, "collectType");
            return (Criteria) this;
        }

        public Criteria andCollectTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("CollectType >=", value, "collectType");
            return (Criteria) this;
        }

        public Criteria andCollectTypeLessThan(Integer value) {
            addCriterion("CollectType <", value, "collectType");
            return (Criteria) this;
        }

        public Criteria andCollectTypeLessThanOrEqualTo(Integer value) {
            addCriterion("CollectType <=", value, "collectType");
            return (Criteria) this;
        }

        public Criteria andCollectTypeIn(List<Integer> values) {
            addCriterion("CollectType in", values, "collectType");
            return (Criteria) this;
        }

        public Criteria andCollectTypeNotIn(List<Integer> values) {
            addCriterion("CollectType not in", values, "collectType");
            return (Criteria) this;
        }

        public Criteria andCollectTypeBetween(Integer value1, Integer value2) {
            addCriterion("CollectType between", value1, value2, "collectType");
            return (Criteria) this;
        }

        public Criteria andCollectTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("CollectType not between", value1, value2, "collectType");
            return (Criteria) this;
        }

        public Criteria andCollectTimeIsNull() {
            addCriterion("CollectTime is null");
            return (Criteria) this;
        }

        public Criteria andCollectTimeIsNotNull() {
            addCriterion("CollectTime is not null");
            return (Criteria) this;
        }

        public Criteria andCollectTimeEqualTo(Date value) {
            addCriterion("CollectTime =", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeNotEqualTo(Date value) {
            addCriterion("CollectTime <>", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeGreaterThan(Date value) {
            addCriterion("CollectTime >", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CollectTime >=", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeLessThan(Date value) {
            addCriterion("CollectTime <", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeLessThanOrEqualTo(Date value) {
            addCriterion("CollectTime <=", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeIn(List<Date> values) {
            addCriterion("CollectTime in", values, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeNotIn(List<Date> values) {
            addCriterion("CollectTime not in", values, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeBetween(Date value1, Date value2) {
            addCriterion("CollectTime between", value1, value2, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeNotBetween(Date value1, Date value2) {
            addCriterion("CollectTime not between", value1, value2, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andN1IsNull() {
            addCriterion("N1 is null");
            return (Criteria) this;
        }

        public Criteria andN1IsNotNull() {
            addCriterion("N1 is not null");
            return (Criteria) this;
        }

        public Criteria andN1EqualTo(String value) {
            addCriterion("N1 =", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotEqualTo(String value) {
            addCriterion("N1 <>", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThan(String value) {
            addCriterion("N1 >", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThanOrEqualTo(String value) {
            addCriterion("N1 >=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThan(String value) {
            addCriterion("N1 <", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThanOrEqualTo(String value) {
            addCriterion("N1 <=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Like(String value) {
            addCriterion("N1 like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotLike(String value) {
            addCriterion("N1 not like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1In(List<String> values) {
            addCriterion("N1 in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotIn(List<String> values) {
            addCriterion("N1 not in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Between(String value1, String value2) {
            addCriterion("N1 between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotBetween(String value1, String value2) {
            addCriterion("N1 not between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN2IsNull() {
            addCriterion("N2 is null");
            return (Criteria) this;
        }

        public Criteria andN2IsNotNull() {
            addCriterion("N2 is not null");
            return (Criteria) this;
        }

        public Criteria andN2EqualTo(String value) {
            addCriterion("N2 =", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotEqualTo(String value) {
            addCriterion("N2 <>", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThan(String value) {
            addCriterion("N2 >", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThanOrEqualTo(String value) {
            addCriterion("N2 >=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThan(String value) {
            addCriterion("N2 <", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThanOrEqualTo(String value) {
            addCriterion("N2 <=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Like(String value) {
            addCriterion("N2 like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotLike(String value) {
            addCriterion("N2 not like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2In(List<String> values) {
            addCriterion("N2 in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotIn(List<String> values) {
            addCriterion("N2 not in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Between(String value1, String value2) {
            addCriterion("N2 between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotBetween(String value1, String value2) {
            addCriterion("N2 not between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN3IsNull() {
            addCriterion("N3 is null");
            return (Criteria) this;
        }

        public Criteria andN3IsNotNull() {
            addCriterion("N3 is not null");
            return (Criteria) this;
        }

        public Criteria andN3EqualTo(String value) {
            addCriterion("N3 =", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotEqualTo(String value) {
            addCriterion("N3 <>", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThan(String value) {
            addCriterion("N3 >", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThanOrEqualTo(String value) {
            addCriterion("N3 >=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThan(String value) {
            addCriterion("N3 <", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThanOrEqualTo(String value) {
            addCriterion("N3 <=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Like(String value) {
            addCriterion("N3 like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotLike(String value) {
            addCriterion("N3 not like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3In(List<String> values) {
            addCriterion("N3 in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotIn(List<String> values) {
            addCriterion("N3 not in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Between(String value1, String value2) {
            addCriterion("N3 between", value1, value2, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotBetween(String value1, String value2) {
            addCriterion("N3 not between", value1, value2, "n3");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table prpm_report_collect
     *
     * @mbggenerated do_not_delete_during_merge Tue Jun 07 10:21:44 CST 2016
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
     * 案件信息统计表
     * 数据库表：prpm_report_collect
     * 
     * @author fucy
     * @since 2016-06-05
     */
    public static class Criterion {
        private String  condition;
        private Object  value;
        private Object  secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String  typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}